package cn.hengzhu.main_manager.utils.config.xcx;

public class WxConfig {

//	public static final String DOMAIN_URL = "https://wechat.schengzhu.com";
	public static final String DOMAIN_URL = "https://toycar.cn.utools.club";
//	public static final String DOMAIN_URL = "https://debug.schengzhu.com";

	/* 临时登录凭证校验接口是一个 HTTPS 接口，开发者服务器使用 临时登录凭证code 获取 session_key 和 openid 等。获取openID接口 */
	public static final String GET_OPENID = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code";

//	/* 小程序appID */
//	public static final String APPID = "wxdfda9493a8ddb75b";
//	// 小程序appSecret微信公众平台小程序密钥
//	public static final String SECRET = "804ed5197e7e63817e7ac1a67058dbc3";


	//微信支付的商户密钥
	public static final String KEY = "181214d78b70adc45070f920b40e83c0";

//	public static final String APPID = "wx557fdcca6c5d53db";


	public static final String APPID = "wx4f96259a54de7529";

	// 小程序appSecret微信公众平台小程序密钥
	public static final String SECRET = "800d5463c553c4c2b8c2682a628776b2";

	/**
	 * 统一下单接口
	 */
	public static final String URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	//商户号
	public static final String MCH_ID = "1510628061";

	public static final String ACCESS_TOKEN = "WX_XCX_ACCESS_TOKEN";

	/**
	 * 模板消息发送地址
	 */
	public static final String SEND_URL = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=ACCESS_TOKEN";

	/**
	 * 退款地址
	 */
	public static final String BACKPAY_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";

	public static final String PAY_TO_BIZ = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
	//获取AccessToken地址
	public static final String GET_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	//获取二维码URl
	public static final String WXA_CODE = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=ACCESS_TOKEN";

	/**
	 * 小程序的消息模板ID
	 * 
	 * 关键词 {{keyword1.DATA}} 物品名称
	 * 
	 * {{keyword2.DATA}} 开始时间
	 * 
	 * {{keyword3.DATA}}结束时间
	 * 
	 */

	public static final String TEMPLATE_ID = "mMdH5Zg0xIsWES54KrexM50NrB-GrcMNqtiFFXJQqhM";

	/**
	 * 微信小程序床图标的路径
	 */
	public static final String BED = "/image/bed.png";

	/**
	 * 微信小程序快递图标的路径
	 */
	public static final String FAST = "/image/fast.png";

	/**
	 * 微信小程序快餐图标的路径
	 */
	public static final String FOOD = "/image/food.png";

	/**
	 * 微信小程序免费柜图标的路径
	 */
	public static final String BOX = "/image/box.png";

	/**
	 * 查询微信订单支付结果
	 */
	public static final String GET_ORDER_RESULT = "https://api.mch.weixin.qq.com/pay/orderquery";

}
